﻿# -*- coding:utf-8 -*-
#
# house
#
#import datetime
#
from django.forms import ModelForm
from django import forms

from house.models import Operation
from house.models import Apartment


     
class ArrivalForm(ModelForm):

    class Meta:
        model = Operation 
        exclude = ('quantity', 'price','kind', 'special_item', 'period_year', 'period_month',)

        
        
class ExpenseForm(ModelForm):

    class Meta:
        model = Operation 
        exclude = ('kind', 'special_item', 'period_year', 'period_month', 'amount',)        



class ApartmentForm(ModelForm):

    class Meta:
        model = Apartment
        exclude = ('number',)